
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>DAY04 回忆式笔记 · JavaSE笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="zh">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="DAY04 回忆式笔记.html" />
    
    
    <link rel="prev" href="DAY03 回忆式笔记.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./#向导">
            
                    
                    向导
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="./">
            
                <a href="./#技巧&工具">
            
                    
                    技巧&工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="./">
            
                <a href="./#基础部分">
            
                    
                    基础部分
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#day01-java编程基础">
            
                    
                    DAY01 java编程基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#一、java语言概述">
            
                    
                    一、java语言概述
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1-课程整体内容概述">
            
                    
                    1_ 课程整体内容概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#2-java语言概述">
            
                    
                    2_ Java语言概述
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.2.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1、基础常识">
            
                    
                    1、基础常识
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.2.1.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#11硬件（hardware）">
            
                    
                    1.1硬件（Hardware）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2.1.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#12软件（software）">
            
                    
                    1.2软件（SoftWare）
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.2.1.2.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#121系统软件（operation-system）">
            
                    
                    1.2.1系统软件（Operation System）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2.1.2.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#122应用软件">
            
                    
                    1.2.2应用软件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.1.2.1.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#13dos命令">
            
                    
                    1.3Dos命令
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.2.1.3.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#131常用dos命令command">
            
                    
                    1.3.1常用DOS命令(command)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2.1.3.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#132命令的分类">
            
                    
                    1.3.2命令的分类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#3-计算机语言的发展迭代史">
            
                    
                    3_ 计算机语言的发展迭代史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.4" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#4-java语言版本迭代概述">
            
                    
                    4_ Java语言版本迭代概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.5" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#5-java语言应用的领域">
            
                    
                    5_ Java语言应用的领域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.6" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#6-java语言的特点">
            
                    
                    6_ Java语言的特点
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.6.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1主要特性">
            
                    
                    1.主要特性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.6.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#2面向对象性">
            
                    
                    2.面向对象性
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.1.7" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#7-java两种核心机制">
            
                    
                    7_ Java两种核心机制
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#二、开发环境的搭建（重点）">
            
                    
                    二、开发环境的搭建（重点）
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1-jdk、jre、jvm的关系">
            
                    
                    1_ JDK、JRE、JVM的关系
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#2-jdk的下载、安装">
            
                    
                    2_ JDK的下载、安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#3-path环境变量的配置">
            
                    
                    3_ path环境变量的配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.3.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1、为什么配置path环境变量？">
            
                    
                    1、为什么配置path环境变量？
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#12、如何配置？">
            
                    
                    1.2、如何配置？
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#三、第一个java程序">
            
                    
                    三、第一个Java程序
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1、开发体验—helloworld">
            
                    
                    1、开发体验—HelloWorld
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#11编写">
            
                    
                    1.1编写
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.1.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#12编译">
            
                    
                    1.2编译
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.1.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#13运行">
            
                    
                    1.3运行
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.3.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#2常见问题的解决">
            
                    
                    2.常见问题的解决
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#3总结第一个程序">
            
                    
                    3.总结第一个程序
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#四、注释与api文档">
            
                    
                    四、注释与API文档
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.4.1" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#1注释：comment">
            
                    
                    1.注释：Comment
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.2" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#2java-api-文档">
            
                    
                    2.Java API 文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.3" data-path="DAY01 笔记.html">
            
                <a href="DAY01 笔记.html#3良好的编程风格">
            
                    
                    3.良好的编程风格
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#day02-数据类型到进制">
            
                    
                    DAY02 数据类型到进制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#基本数据类型">
            
                    
                    基本数据类型
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#引用类型和基本类型的区别">
            
                    
                    引用类型和基本类型的区别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#浮点数为什么不精准整数是不是精准的为什么">
            
                    
                    浮点数为什么不精准整数是不是精准的为什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#强类型的好处是什么">
            
                    
                    强类型的好处是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.4" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#简要描述java中的8种数据类型">
            
                    
                    简要描述java中的8种数据类型
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#变量的使用与类型兼容性">
            
                    
                    变量的使用与类型兼容性
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#变量使用时有哪些注意事项">
            
                    
                    变量使用时有哪些注意事项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#变量赋值的兼容机制">
            
                    
                    变量赋值的兼容机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#什么是变量什么是常量什么是字面量">
            
                    
                    什么是变量什么是常量什么是字面量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.4" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#数值字面值的默认类型是什么">
            
                    
                    数值字面值的默认类型是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.5" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#编译器对变量和常量如何区别处理">
            
                    
                    编译器对变量和常量如何区别处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.6" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#为什么浮点数没有变量常量区别处理">
            
                    
                    为什么浮点数没有变量常量区别处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.7" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#数值范围从小到大的排序是什么">
            
                    
                    数值范围从小到大的排序是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.8" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#自动类型提升的主要规则数值型">
            
                    
                    自动类型提升的主要规则(数值型)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.9" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#强制类型转换">
            
                    
                    强制类型转换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#字符与字符串">
            
                    
                    字符与字符串
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#字符型存储的究竟是什么">
            
                    
                    字符型存储的究竟是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#字符串引用类型">
            
                    
                    字符串(引用类型)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#字符串转换">
            
                    
                    字符串转换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#进制">
            
                    
                    进制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#权值是什么各进制如何表示">
            
                    
                    权值是什么各进制如何表示
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#研究16进制的意义是什么">
            
                    
                    研究16进制的意义是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#8421法实现16进制与2进制互转">
            
                    
                    8421法实现16进制与2进制互转
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.4" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#什么是补码了解">
            
                    
                    什么是补码(了解)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.5" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#补码和-1分别解决了什么问题">
            
                    
                    补码和-1分别解决了什么问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.6" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#byte的最大值为什么是127">
            
                    
                    byte的最大值为什么是127
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#额外补充">
            
                    
                    额外补充
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#b问题">
            
                    
                    \b问题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习">
            
                    
                    练习
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.6.1" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习1-打印自己的姓名和相应码值">
            
                    
                    练习1 打印自己的姓名和相应码值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.2" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习2-字符串拼接-打印个人信息">
            
                    
                    练习2 字符串拼接 打印个人信息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.3" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习3-动态打印计算过程">
            
                    
                    练习3 动态打印计算过程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.4" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习4-16进制与2进制转10进制">
            
                    
                    练习4 16进制与2进制转10进制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.5" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习5-16进制和2进制互转">
            
                    
                    练习5 16进制和2进制互转
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.6" data-path="DAY02 回忆式笔记.html">
            
                <a href="DAY02 回忆式笔记.html#练习6-正负2进制转10进制数">
            
                    
                    练习6 正负2进制转10进制数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#day03-回忆式笔记">
            
                    
                    DAY03 回忆式笔记
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#内存与变量机制">
            
                    
                    内存与变量机制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#地址编号是什么">
            
                    
                    地址编号是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#变量可以声明在什么位置-有什么区别">
            
                    
                    变量可以声明在什么位置 有什么区别
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#运算符">
            
                    
                    运算符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#位运算符">
            
                    
                    位运算符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#补充异或加密实践">
            
                    
                    补充异或加密实践
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#算术运算符">
            
                    
                    算术运算符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.2.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#除法运算注意点">
            
                    
                    除法运算注意点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#求余运算注意点">
            
                    
                    求余运算注意点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#后++和前++注意点">
            
                    
                    后++和前++注意点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#字符串+运算注意点">
            
                    
                    字符串+运算注意点
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#赋值运算注意点">
            
                    
                    赋值运算注意点
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.3.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#扩展操作运算符">
            
                    
                    扩展操作运算符
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#比较运算符">
            
                    
                    比较运算符
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.4.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#为什么不能连续比较">
            
                    
                    为什么不能连续比较
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2.5" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#逻辑运算符">
            
                    
                    逻辑运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.6" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#三元运算符">
            
                    
                    三元运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.7" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#运算符优先级">
            
                    
                    运算符优先级
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#流程控制">
            
                    
                    流程控制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.3.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#什么是流程-有几种流程控制">
            
                    
                    什么是流程 有几种流程控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#分支语句1:-if-else-及其">
            
                    
                    分支语句1: if-else 及其
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.3.2.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#3种方式">
            
                    
                    3种方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.2.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#嵌套">
            
                    
                    嵌套
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.2.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#无花括号语法">
            
                    
                    无花括号语法
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.3.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#分支语句2:-switch-case">
            
                    
                    分支语句2: switch case
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.3.3.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#使用switch的相关规则">
            
                    
                    使用switch的相关规则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3.3.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#没有break会怎么样">
            
                    
                    没有break会怎么样
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#额外补充">
            
                    
                    额外补充
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.4.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#java如何得到命令行参数">
            
                    
                    java如何得到命令行参数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习">
            
                    
                    练习
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.5.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习1-按位与,-或-,-异或运算">
            
                    
                    练习1 按位与, 或 , 异或运算
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习2-算数运算符:-自加,-自减">
            
                    
                    练习2 算数运算符: 自加, 自减
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习3-与、或、短语与和短路或">
            
                    
                    练习3 与、或、短语与和短路或
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习4-三元运算符-2数较大-3数较大">
            
                    
                    练习4 三元运算符 2数较大 3数较大
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.5" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习5-if-else-奖励小明">
            
                    
                    练习5 if else 奖励小明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.6" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习6">
            
                    
                    练习6
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.7" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习7-用switch改写if语句">
            
                    
                    练习7 用switch改写if语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5.8" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#练习8-用switch为输入的月份判断季节">
            
                    
                    练习8 用switch为输入的月份判断季节
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#作业">
            
                    
                    作业
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.6.1" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#作业1-将3个数字从小到大排列">
            
                    
                    作业1 将3个数字从小到大排列
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6.2" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#作业2">
            
                    
                    作业2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6.3" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#作业3">
            
                    
                    作业3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6.4" data-path="DAY03 回忆式笔记.html">
            
                <a href="DAY03 回忆式笔记.html#作业4">
            
                    
                    作业4
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#day04-回忆式笔记">
            
                    
                    DAY04 回忆式笔记
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#冒泡排序">
            
                    
                    冒泡排序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#循环结构">
            
                    
                    循环结构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.2.1" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#循环语句的功能是什么">
            
                    
                    循环语句的功能是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.2" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#循环语句的四个组成部分">
            
                    
                    循环语句的四个组成部分
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.3" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#while-循环">
            
                    
                    while 循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.4" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#do-while-循环">
            
                    
                    do-while 循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.5" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#while-循环结构特点">
            
                    
                    while 循环结构特点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.6" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for-循环">
            
                    
                    for 循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.7" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for-循环结构特点">
            
                    
                    for 循环结构特点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.8" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for循环与if嵌套">
            
                    
                    for循环与if嵌套
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.9" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for循环嵌套">
            
                    
                    for循环嵌套
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.10" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for循环打印控制">
            
                    
                    for循环打印控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.11" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#for循环判断质数">
            
                    
                    for循环判断质数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#额外补充">
            
                    
                    额外补充
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.3.1" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#null-和-null-的区别是什么">
            
                    
                    NULL 和 null 的区别是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.2" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#什么是质数">
            
                    
                    什么是质数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习">
            
                    
                    练习
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.4.1" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习1-使用while循环打印矩阵">
            
                    
                    练习1 使用while循环打印矩阵
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.2" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习2-使用do-while-循环打印矩阵">
            
                    
                    练习2 使用do while 循环打印矩阵
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.3" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习3-for循环打印矩形">
            
                    
                    练习3 for循环打印矩形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.4" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习4-1000以内能被7整除的数的平均值">
            
                    
                    练习4 1000以内能被7整除的数的平均值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.5" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习5-for-循环嵌套打印矩阵">
            
                    
                    练习5 for 循环嵌套打印矩阵
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.6" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习6-for循环嵌套打印三角形">
            
                    
                    练习6 for循环嵌套打印三角形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.7" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#练习7-for循环-找质数">
            
                    
                    练习7 for循环 找质数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#作业">
            
                    
                    作业
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.5.1" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#作业1-冒泡排序">
            
                    
                    作业1 冒泡排序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.2" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#作业2-等腰三角形打印控制">
            
                    
                    作业2 等腰三角形打印控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5.3" data-path="DAY04 回忆式笔记.html">
            
                <a href="DAY04 回忆式笔记.html#作业3-求1000以内质数的平均值">
            
                    
                    作业3 求1000以内质数的平均值
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#day05-回忆式笔记">
            
                    
                    DAY05 回忆式笔记
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#死循环问题">
            
                    
                    死循环问题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#while语句死循环">
            
                    
                    while语句死循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#for语句死循环">
            
                    
                    for语句死循环
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.1.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#像但不是死循环">
            
                    
                    像但不是死循环
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#循环的特殊流程控制">
            
                    
                    循环的特殊流程控制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#break-语句">
            
                    
                    break 语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#循环的标签与break联合">
            
                    
                    循环的标签与break联合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#场景回顾-找质数与break">
            
                    
                    场景回顾 找质数与break
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.4" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#break中断某个语句块">
            
                    
                    break中断某个语句块
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#continue-语句">
            
                    
                    continue 语句
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.3.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#continue-和-break-小有不同">
            
                    
                    continue 和 break 小有不同
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#循环的标签与continue结合">
            
                    
                    循环的标签与continue结合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#return-语句">
            
                    
                    return 语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#特殊控制语句说明">
            
                    
                    特殊控制语句说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法method">
            
                    
                    方法(method)
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.6.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#什么是方法函数">
            
                    
                    什么是方法(函数)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法的组成">
            
                    
                    方法的组成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法的调用">
            
                    
                    方法的调用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6.4" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法无参无返回值的情况-void">
            
                    
                    方法无参无返回值的情况 void
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6.5" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#形参实参注意事项">
            
                    
                    形参实参注意事项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6.6" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法调用时发生了什么事情">
            
                    
                    方法调用时发生了什么事情
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法的重载overload">
            
                    
                    方法的重载(overload)
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.7.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#重载的概念">
            
                    
                    重载的概念
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#重载的特点">
            
                    
                    重载的特点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#形参和实参的兼容性匹配">
            
                    
                    形参和实参的兼容性匹配
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.4" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法签名到底签的是什么">
            
                    
                    方法签名到底签的是什么
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.5" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#重载的精准调用兼容度">
            
                    
                    重载的精准调用(兼容度)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.6" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#println源码为什么名字相同的时候才重载">
            
                    
                    println源码为什么名字相同的时候才重载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.7" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#连环调还是独立方法好">
            
                    
                    连环调还是独立方法好
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7.8" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#功能弱的方法要不要干掉">
            
                    
                    功能弱的方法要不要干掉
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法参数的传递">
            
                    
                    方法参数的传递
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#重点!!方法调用的分析">
            
                    
                    (重点!!)方法调用的分析
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.9.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#方法执行时究竟是怎么执行的栈!">
            
                    
                    方法执行时究竟是怎么执行的栈!
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习">
            
                    
                    练习
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.10.1" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习1-for循环打印空心矩形">
            
                    
                    练习1 for循环打印空心矩形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.2" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习2-break循环控制">
            
                    
                    练习2 break循环控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.3" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习3-continue-整除控制">
            
                    
                    练习3 continue 整除控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.4" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习4-方法声明及其调用-add">
            
                    
                    练习4 方法声明及其调用 add
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.5" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习5-调用方法打印矩形">
            
                    
                    练习5 调用方法打印矩形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.6" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习6-调用方法打印矩形及其周长">
            
                    
                    练习6 调用方法打印矩形及其周长
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.7" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习7-判断哪个方法是重载">
            
                    
                    练习7 判断哪个方法是重载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.8" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习8-重载一个打印正方形的方法">
            
                    
                    练习8 重载一个打印正方形的方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10.9" data-path="DAY05 回忆式笔记.html">
            
                <a href="DAY05 回忆式笔记.html#练习9-用连环调来打印矩形-并切换图形的图案">
            
                    
                    练习9 用连环调来打印矩形 并切换图形的图案
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >DAY04 回忆式笔记</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="day04-&#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;">DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;</h1>
<h2 id="&#x5192;&#x6CE1;&#x6392;&#x5E8F;">&#x5192;&#x6CE1;&#x6392;&#x5E8F;</h2>
<blockquote>
<p>&#x5FAA;&#x73AF;&#x7248;</p>
</blockquote>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/bubbleSort.gif" alt="img"></p>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Homework1</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-comment">// &#x5C1D;&#x8BD5;&#x7528;&#x5FAA;&#x73AF;&#x5B9E;&#x73B0;&#x5192;&#x6CE1;&#x6392;&#x5E8F;</span>
        <span class="hljs-comment">// &#x5148;&#x628A;&#x5B57;&#x7B26;&#x4E32;&#x6570;&#x7EC4;&#x6539;&#x4E3A;&#x6574;&#x6570;&#x6570;&#x7EC4;</span>
        <span class="hljs-keyword">int</span>[] data = <span class="hljs-keyword">new</span> <span class="hljs-keyword">int</span>[args.length];
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>; i&lt;args.length;i++){
            System.out.println(<span class="hljs-string">&quot;a&quot;</span>);
            data[i] = Integer.parseInt(args[i]);
        }

        <span class="hljs-comment">// &#x5148;&#x5199;&#x5916;&#x9762;&#x7684;&#x5FAA;&#x73AF; &#x597D;&#x50CF;&#x662F;&#x8981;&#x5FAA;&#x73AF; &#x6570;&#x7EC4;&#x7684;&#x957F;&#x5EA6;-1&#x6B21;</span>
        <span class="hljs-keyword">for</span> (<span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span> ; i &lt; data.length -<span class="hljs-number">1</span>; i++){
            <span class="hljs-comment">// &#x6211;&#x4EEC;&#x6BD4;&#x8F83;&#x76F8;&#x90BB;&#x7684;&#x6570;&#x636E; &#x5E76;&#x8FDB;&#x884C;&#x4EA4;&#x6362;</span>
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j = <span class="hljs-number">0</span> ; j &lt; data.length - i - <span class="hljs-number">1</span>; j++){
                <span class="hljs-keyword">int</span> temp ;       <span class="hljs-comment">// &#x58F0;&#x660E;&#x4E00;&#x4E2A;&#x4E34;&#x65F6;&#x53D8;&#x91CF;&#x7528;&#x6765;&#x5B58;&#x50A8;&#x5F53;&#x524D;&#x7684;&#x5185;&#x5BB9;</span>
                <span class="hljs-keyword">if</span> (data[j] &gt; data[j+<span class="hljs-number">1</span>]){
                    temp = data[j];
                    data[j]  = data[j+<span class="hljs-number">1</span>];
                    data[j+<span class="hljs-number">1</span>] = temp;
                }                
            }
        }
        <span class="hljs-keyword">for</span> (<span class="hljs-keyword">int</span> i =<span class="hljs-number">0</span> ; i&lt; data.length;i++){
            System.out.print(data[i]+<span class="hljs-string">&quot; &quot;</span>);
        }
    }
}
</code></pre>
<h2 id="&#x5FAA;&#x73AF;&#x7ED3;&#x6784;">&#x5FAA;&#x73AF;&#x7ED3;&#x6784;</h2>
<h3 id="&#x5FAA;&#x73AF;&#x8BED;&#x53E5;&#x7684;&#x529F;&#x80FD;&#x662F;&#x4EC0;&#x4E48;">&#x5FAA;&#x73AF;&#x8BED;&#x53E5;&#x7684;&#x529F;&#x80FD;&#x662F;&#x4EC0;&#x4E48;</h3>
<p>&#x5728;&#x67D0;&#x4E9B;&#x6761;&#x4EF6;&#x6EE1;&#x8DB3;&#x7684;&#x60C5;&#x51B5;&#x4E0B;,&#x53CD;&#x590D;&#x6267;&#x884C;&#x67D0;&#x6BB5;&#x7279;&#x5B9A;&#x4EE3;&#x7801;&#x7684;&#x529F;&#x80FD;</p>
<h3 id="&#x5FAA;&#x73AF;&#x8BED;&#x53E5;&#x7684;&#x56DB;&#x4E2A;&#x7EC4;&#x6210;&#x90E8;&#x5206;">&#x5FAA;&#x73AF;&#x8BED;&#x53E5;&#x7684;&#x56DB;&#x4E2A;&#x7EC4;&#x6210;&#x90E8;&#x5206;</h3>
<ul>
<li><p><strong>&#x521D;&#x59CB;&#x5316;&#x90E8;&#x5206; (init_statement)</strong></p>
</li>
<li><p><strong>&#x5FAA;&#x73AF;&#x6761;&#x4EF6;&#x90E8;&#x5206; (test_exp)</strong></p>
<ul>
<li>&#x5FAA;&#x73AF;&#x6761;&#x4EF6;&#x7684;&#x4F5C;&#x7528;&#x662F;&#x7528;&#x6765;&#x51B3;&#x5B9A;&#x5FAA;&#x73AF;&#x751F;&#x6B7B;&#x7684;.</li>
</ul>
</li>
<li><p>&#x5FAA;&#x73AF;&#x4F53;&#x90E8;&#x5206;(bodu_statment)</p>
<ul>
<li>&#x5B83;&#x662F;&#x88AB;&#x52A8;&#x6267;&#x884C;&#x7684;, &#x76F8;&#x6BD4;&#x5176;&#x4ED6;&#x90E8;&#x5206;&#x4E0D;&#x91CD;&#x8981;</li>
</ul>
</li>
<li><p><strong>&#x8FED;&#x4EE3;&#x90E8;&#x5206;(alter_statement)</strong></p>
<ul>
<li><blockquote>
<p>&#x8FED;&#x4EE3;&#x8FD9;&#x4E2A;&#x8BCD;&#x4E3B;&#x8981;&#x662F;&#x7528;&#x4E8E;&#x8F6F;&#x4EF6;&#x5F00;&#x53D1;&#x7684;, &#x4E3A;&#x4EC0;&#x4E48;&#x8981;&#x8FED;&#x4EE3;&#x662F;&#x4E3A;&#x4E86;&#x8BA9;&#x8F6F;&#x4EF6;&#x8D8B;&#x4E8E;&#x5B8C;&#x7F8E;&#x7684;</p>
</blockquote>
</li>
<li><p>&#x6539;&#x53D8;&#x4E00;&#x4E2A;&#x4E1C;&#x897F;&#x8BA9;&#x5B83;&#x8D8B;&#x4E8E;&#x7ED3;&#x675F;. &#x5728;&#x5FAA;&#x73AF;&#x4E2D;&#x4F7F;&#x7528;&#x8FED;&#x4EE3;&#x662F;&#x4E3A;&#x4E86;&#x8BA9;&#x5FAA;&#x73AF;&#x8D8B;&#x4E8E;&#x7ED3;&#x675F;</p>
</li>
</ul>
</li>
</ul>
<h3 id="while-&#x5FAA;&#x73AF;">while &#x5FAA;&#x73AF;</h3>
<blockquote>
<p>&#x5F53;&#x5FAA;&#x73AF;&#x5728;&#x6761;&#x4EF6;&#x4E3A;&#x771F;&#x7684;&#x671F;&#x95F4;&#x6211;&#x5C31;&#x4E00;&#x76F4;&#x505A;</p>
</blockquote>
<pre><code>[&#x521D;&#x59CB;&#x5316;&#x8BED;&#x53E5;]
while(&#x5E03;&#x5C14;&#x503C;&#x6D4B;&#x8BD5;&#x8868;&#x8FBE;&#x5F0F;){
    &#x8BED;&#x53E5;&#x6216;&#x8BED;&#x53E5;&#x5757;;
    [&#x8FED;&#x4EE3;&#x8BED;&#x53E5;]
}
</code></pre><p><strong>&#x4F8B;&#x5B50;</strong>:</p>
<pre><code class="lang-java"><span class="hljs-keyword">public</span> <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">WhileLoop</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{

        <span class="hljs-keyword">int</span> result = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">int</span> i=<span class="hljs-number">1</span>;    <span class="hljs-comment">// &#x8FD9;&#x4E2A;i&#x51B3;&#x5B9A;&#x4E86;&#x5FAA;&#x73AF;&#x6267;&#x884C;&#x51E0;&#x6B21;,&#x6240;&#x4EE5;&#x5B83;&#x624D;&#x662F;&#x521D;&#x59CB;&#x5316;&#x8BED;&#x53E5;</span>
        <span class="hljs-comment">// i &#x53EB;&#x505A;&#x5FAA;&#x73AF;&#x56E0;&#x5B50; &#x6B64;&#x5904;&#x5FAA;&#x73AF;&#x6267;&#x884C;&#x4E86;5&#x6B21; &#x5982;&#x679C;&#x628A;</span>
        <span class="hljs-keyword">while</span>(i &lt;= <span class="hljs-number">5</span>){    <span class="hljs-comment">// &#x8FD9;&#x91CC;&#x6362;&#x6210;15&#x5C31;&#x662F;15&#x6B21;, &#x6362;&#x6210;30&#x5C31;&#x662F;30&#x6B21;</span>
                        <span class="hljs-comment">// &#x5FAA;&#x73AF;&#x6B21;&#x6570;: &#x6761;&#x4EF6;&#x53F3;&#x8FB9;&#x7684;&#x503C; = &#x6761;&#x4EF6;&#x53F3;&#x9762;&#x7684;&#x503C; - &#x521D;&#x503C; ,&#x5982;&#x679C;&#x6709; = &#x518D;+1</span>
                        <span class="hljs-comment">// &#x5FAA;&#x73AF;&#x6B21;&#x6570;&#x56FA;&#x5B9A;&#x4ECE;0&#x5F00;&#x59CB;, &#x6761;&#x4EF6;&#x4E2D;&#x6CA1;&#x6709; = &#x90A3;&#x4E48;&#x5C31;&#x662F;&#x5FAA;&#x73AF;&#x4E86;&#x591A;&#x5C11;&#x6B21;</span>
                        <span class="hljs-comment">// &#x8FD9;&#x6837;&#x5F97;&#x77E5;&#x5FAA;&#x73AF;&#x6B21;&#x6570;&#x5C31;&#x53D8;&#x7684;&#x53CA;&#x5176;&#x5BB9;&#x6613;</span>
                        <span class="hljs-comment">// &#x5FAA;&#x73AF;&#x7684;&#x547D;&#x95E8;&#x5C31;&#x5728;&#x5C0F;&#x4E8E;&#x7684;&#x53F3;&#x8FB9;</span>
            result += i;
            i++;
        }
        System.out.println(<span class="hljs-string">&quot;&#x4F60;&#x559D;&#x4E86;&quot;</span>+result+<span class="hljs-string">&quot;&#x676F;&#x9152;&quot;</span>);
    }
}
</code></pre>
<p>&#x5FAA;&#x73AF;&#x56E0;&#x5B50;&#x7684;&#x53D8;&#x91CF;&#x540D;&#x5FC5;&#x987B;&#x7528;<code>i</code> &#x540E;&#x9762;&#x53D8;&#x91CF;&#x540D;&#x8D8A;&#x6765;&#x8D8A;&#x591A;&#x522B;&#x641E;&#x6DF7;&#x4E86;</p>
<h3 id="do-while-&#x5FAA;&#x73AF;">do-while &#x5FAA;&#x73AF;</h3>
<pre><code>[&#x521D;&#x59CB;&#x5316;&#x8BED;&#x53E5;];
do {
    &#x8BED;&#x53E5;&#x6216;&#x8BED;&#x53E5;&#x5757;;
    [&#x66F4;&#x6539;&#x8BED;&#x53E5;;]
}while(&#x5E03;&#x5C14;&#x503C;&#x6D4B;&#x8BD5;&#x8868;&#x8FBE;&#x5F0F;)
</code></pre><pre><code class="lang-java"><span class="hljs-keyword">public</span> calss WhileLoop{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String args[])</span></span>{
        <span class="hljs-keyword">int</span> result =<span class="hljs-number">0</span> ,i=<span class="hljs-number">0</span>;
        do{
            result += i;
            i++;
        }<span class="hljs-keyword">while</span>(i&lt;<span class="hljs-number">5</span>); <span class="hljs-comment">// &#x548C;while&#x5FAA;&#x73AF;&#x4E00;&#x6837;&#x7684; &#x8FD9;&#x4E2A;&#x5FAA;&#x73AF;&#x4F1A;&#x6267;&#x884C;5&#x6B21; x</span>
                    <span class="hljs-comment">// &#x5C0F;&#x4E8E;&#x53F7;&#x53F3;&#x8FB9;&#x662F;&#x5FAA;&#x73AF;&#x7684;&#x547D;&#x95E8;</span>
                    <span class="hljs-comment">// &#x6700;&#x540E;&#x4E00;&#x6B21;&#x5FAA;&#x73AF;&#x65F6;,i&#x7684;&#x503C;&#x662F;n-1 &#x6BD4;&#x5982;&#x8FD9;&#x91CC;&#x5C31;&#x662F;4</span>
        System.out.println(<span class="hljs-string">&quot;result=&quot;</span>+result);
    }
}
</code></pre>
<p><strong>&#x4E0E;while&#x8BED;&#x53E5;&#x7684;&#x4E0D;&#x540C;</strong></p>
<p>while&#x5FAA;&#x73AF;&#x6267;&#x884C;0~N&#x6B21;</p>
<p>do while &#x5FAA;&#x6267;&#x884C;1~N</p>
<h3 id="while-&#x5FAA;&#x73AF;&#x7ED3;&#x6784;&#x7279;&#x70B9;">while &#x5FAA;&#x73AF;&#x7ED3;&#x6784;&#x7279;&#x70B9;</h3>
<ol>
<li><p>while&#x5FAA;&#x73AF;&#x7ED3;&#x6784;&#x4E0D;&#x4E25;&#x8C28;.</p>
<p>[    ] &#x5185;&#x7684;&#x5185;&#x5BB9;&#x662F;&#x53EF;&#x9009;&#x7684;</p>
</li>
</ol>
<pre><code>[&#x521D;&#x59CB;&#x5316;&#x8BED;&#x53E5;];
do {
    &#x8BED;&#x53E5;&#x6216;&#x8BED;&#x53E5;&#x5757;;
    [&#x66F4;&#x6539;&#x8BED;&#x53E5;;]
}while(&#x5E03;&#x5C14;&#x503C;&#x6D4B;&#x8BD5;&#x8868;&#x8FBE;&#x5F0F;)
</code></pre><ol>
<li><strong>while&#x5FAA;&#x73AF;&#x7684;&#x5E94;&#x7528;&#x573A;&#x666F;</strong>
&#x7528;&#x4E8E;&#x5FAA;&#x73AF;&#x6B21;&#x6570;&#x4E0D;&#x786E;&#x5B9A;&#x7684;&#x65F6;&#x5019;, &#x6BD4;&#x5982;socket&#x7F16;&#x7A0B; app&#x548C;web &#x76D1;&#x542C;&#x9875;&#x9762;&#x4E8B;&#x4EF6;</li>
</ol>
<pre><code class="lang-java"><span class="hljs-keyword">boolean</span> flag = <span class="hljs-keyword">true</span>;
<span class="hljs-keyword">while</span>(flag){
    [&#x5E72;&#x70B9;&#x5565;]
    <span class="hljs-keyword">if</span>([&#x600E;&#x4E48;&#x4E86;]){
        flag = <span class="hljs-keyword">false</span>;
    }
}
</code></pre>
<h3 id="for-&#x5FAA;&#x73AF;">for &#x5FAA;&#x73AF;</h3>
<p>&#x56E0;&#x6B64;for&#x5FAA;&#x73AF;&#x624D;&#x51FA;&#x6765;</p>
<p>&#x6240;&#x6709;&#x7684;&#x7ED3;&#x6784;&#x90FD;&#x5FC5;&#x987B;&#x8981;&#x6709;</p>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/image-20210824114519373.png" alt="image-20210824114519373"></p>
<p><strong>&#x8FED;&#x4EE3;&#x8BED;&#x53E5;&#x7684;&#x7279;&#x6B8A;&#x610F;&#x4E49;</strong></p>
<p>&#x51FA;&#x4E86;&#x7B2C;&#x4E00;&#x6B21;&#x6267;&#x884C;, &#x5B83;&#x662F;&#x6BCF;&#x6B21;&#x5FAA;&#x73AF;&#x7684;&#x5F00;&#x59CB;</p>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest7</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> result = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">for</span> (<span class="hljs-keyword">int</span> i = i ; i &lt;=<span class="hljs-number">5</span>;i++){ <span class="hljs-comment">//&#x5FAA;&#x73AF;&#x6B21;&#x6570;&#x662F;5&#x6B21;,&#x6761;&#x4EF6;&#x53F3;&#x8FB9;&#x7684;&#x51CF;&#x53BB;&#x521D;&#x503C;,</span>
            result += i;
        }
        System.out.println(<span class="hljs-string">&quot;result: &quot;</span>)
    }
}
</code></pre>
<p>&#x8FD9;&#x4E2A;<code>i</code>&#x7684;&#x4F5C;&#x7528;&#x8303;&#x56F4;&#x653E;&#x5728;<code>for</code>&#x5FAA;&#x73AF;&#x91CC;&#x9762;&#x662F;&#x6700;&#x597D;&#x7684;, &#x8FD9;&#x6837;&#x7684;&#x8BDD;<code>i</code>&#x4E0D;&#x4F1A;&#x88AB;&#x522B;&#x7684;&#x8BED;&#x53E5;&#x968F;&#x610F;&#x4FEE;&#x6539;&#x4ECE;&#x800C;&#x5F71;&#x54CD;&#x5FAA;&#x73AF;</p>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/image-20210824115137163.png" alt="image-20210824115137163"></p>
<h3 id="for-&#x5FAA;&#x73AF;&#x7ED3;&#x6784;&#x7279;&#x70B9;">for &#x5FAA;&#x73AF;&#x7ED3;&#x6784;&#x7279;&#x70B9;</h3>
<p><code>for</code>&#x5FAA;&#x73AF;&#x9002;&#x7528;&#x4E8E;&#x5FAA;&#x73AF;&#x6B21;&#x6570;&#x786E;&#x5B9A;&#x7684;&#x5FAA;&#x73AF;.</p>
<h3 id="for&#x5FAA;&#x73AF;&#x4E0E;if&#x5D4C;&#x5957;">for&#x5FAA;&#x73AF;&#x4E0E;if&#x5D4C;&#x5957;</h3>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest9</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> sum = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">int</span> 
    }
}
</code></pre>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/image-20210824143247938.png" alt="image-20210824143247938"></p>
<h3 id="for&#x5FAA;&#x73AF;&#x5D4C;&#x5957;">for&#x5FAA;&#x73AF;&#x5D4C;&#x5957;</h3>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/image-20210824142913806.png" alt="image-20210824142913806"></p>
<h3 id="for&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x63A7;&#x5236;">for&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x63A7;&#x5236;</h3>
<p><img src="DAY04 &#x56DE;&#x5FC6;&#x5F0F;&#x7B14;&#x8BB0;.assets/image-20210824152001719.png" alt="image-20210824152001719"></p>
<h3 id="for&#x5FAA;&#x73AF;&#x5224;&#x65AD;&#x8D28;&#x6570;">for&#x5FAA;&#x73AF;&#x5224;&#x65AD;&#x8D28;&#x6570;</h3>
<p><a href="#&#x4EC0;&#x4E48;&#x662F;&#x8D28;&#x6570;">&#x4EC0;&#x4E48;&#x662F;&#x8D28;&#x6570;</a></p>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> num = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">boolean</span> flag = <span class="hljs-keyword">true</span>;
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i = <span class="hljs-number">2</span>; i&lt; num;i++){
            <span class="hljs-keyword">if</span> (num%i==<span class="hljs-number">0</span>){
                flag = <span class="hljs-keyword">false</span>;
            }
        }
        <span class="hljs-keyword">if</span>(flag){
            System.out.println(num+<span class="hljs-string">&quot;&#x662F;&#x8D28;&#x6570;&quot;</span>);
        }<span class="hljs-keyword">else</span>{
            System.out.println(num+<span class="hljs-string">&quot;&#x4E0D;&#x662F;&#x8D28;&#x6570;&quot;</span>);
        }
    }
}
</code></pre>
<h2 id="&#x989D;&#x5916;&#x8865;&#x5145;">&#x989D;&#x5916;&#x8865;&#x5145;</h2>
<h3 id="null-&#x548C;-null-&#x7684;&#x533A;&#x522B;&#x662F;&#x4EC0;&#x4E48;">NULL &#x548C; null &#x7684;&#x533A;&#x522B;&#x662F;&#x4EC0;&#x4E48;?</h3>
<h3 id="&#x4EC0;&#x4E48;&#x662F;&#x8D28;&#x6570;">&#x4EC0;&#x4E48;&#x662F;&#x8D28;&#x6570;</h3>
<p>&#x53EA;&#x80FD;&#x88AB;1&#x548C;&#x81EA;&#x8EAB;&#x6574;&#x9664;&#x7684;&#x6570;&#x5C31;&#x662F;&#x8D28;&#x6570;</p>
<p>5&#x662F;&#x8D28;&#x6570; &#x56E0;&#x4E3A;&#x5B83;&#x53EA;&#x80FD;&#x88AB;1&#x548C;5&#x6574;&#x9664;</p>
<h2 id="&#x7EC3;&#x4E60;">&#x7EC3;&#x4E60;</h2>
<h3 id="&#x7EC3;&#x4E60;1-&#x4F7F;&#x7528;while&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x9635;">&#x7EC3;&#x4E60;1 &#x4F7F;&#x7528;while&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x9635;</h3>
<p>&#x6253;&#x5370;20*8&#x7684;&#x77E9;&#x5F62; 20&#x884C;8&#x5217;</p>
<blockquote>
<p>&#x884C;&#x5FAA;&#x73AF;&#x7248;</p>
<p>&#x8FD9;&#x4E2A;&#x7EC3;&#x4E60;&#x7684;&#x6838;&#x5FC3;&#x5C31;&#x662F;&#x63A7;&#x5236;&#x5FAA;&#x73AF;&#x7684;&#x6B21;&#x6570;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">WhileExpr</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-comment">// &#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x4E3B;&#x65B9;&#x6CD5;</span>
        <span class="hljs-keyword">int</span> loops = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">while</span>(i&lt;loops){
            System.out.println(<span class="hljs-string">&quot;********&quot;</span>);
            i++;
        }
    }
}
</code></pre>
<blockquote>
<p>&#x5D4C;&#x5957;&#x5FAA;&#x73AF;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">WhileExpr</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-comment">// &#x8FD9;&#x662F;&#x4E00;&#x4E2A;&#x4E3B;&#x65B9;&#x6CD5;</span>
        <span class="hljs-keyword">int</span> rows = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">int</span> cols = Integer.parseInt(args[<span class="hljs-number">1</span>]);
        <span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">while</span>(i&lt;rows ){
            <span class="hljs-keyword">int</span> j = <span class="hljs-number">0</span>;
            <span class="hljs-keyword">while</span> (j &lt; cols){
                System.out.print(<span class="hljs-string">&quot;*&quot;</span>);
                j ++;
            }
            System.out.println(<span class="hljs-string">&quot;********&quot;</span>);
            i++;
        }
    }
}
</code></pre>
<h3 id="&#x7EC3;&#x4E60;2-&#x4F7F;&#x7528;do-while-&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x9635;">&#x7EC3;&#x4E60;2 &#x4F7F;&#x7528;do while &#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x9635;</h3>
<blockquote>
<p>&#x884C;&#x5FAA;&#x73AF;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">WhileExpr</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-comment">// &#x6253;&#x5370;&#x4E00;&#x4E2A;20*8&#x7684;&#x77E9;&#x9635;</span>
        <span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>;
        do{
            System.out.println(<span class="hljs-string">&quot;********&quot;</span>);
            i ++;
        }<span class="hljs-keyword">while</span>(i&lt;<span class="hljs-number">20</span>);
    }
}
</code></pre>
<blockquote>
<p>&#x5D4C;&#x5957;&#x5FAA;&#x73AF;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">WhileExpr</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-comment">// &#x5916;&#x9762;&#x5957;&#x884C;,&#x91CC;&#x9762;&#x662F;&#x5217;</span>
        <span class="hljs-keyword">int</span> rows = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">int</span> cols = Integer.parseInt(args[<span class="hljs-number">1</span>]);
        <span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>;
        do{
            <span class="hljs-keyword">int</span> j = <span class="hljs-number">0</span>;
            do{
                System.out.print(<span class="hljs-string">&quot;*&quot;</span>);
                j++;
            }<span class="hljs-keyword">while</span>(j&lt;cols);

            System.out.println(<span class="hljs-string">&quot;********&quot;</span>);
            i ++;
        }<span class="hljs-keyword">while</span>(i&lt;rows);

    }
}
</code></pre>
<h3 id="&#x7EC3;&#x4E60;3-for&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x5F62;">&#x7EC3;&#x4E60;3 for&#x5FAA;&#x73AF;&#x6253;&#x5370;&#x77E9;&#x5F62;</h3>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">looptest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">()</span></span>{]
        <span class="hljs-comment">// for&#x5FAA;&#x73AF;</span>
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i;i&lt;<span class="hljs-number">20</span>;i++){
            System.out.println(<span class="hljs-string">&quot;*******&quot;</span>);
        }
    }
}
</code></pre>
<h3 id="&#x7EC3;&#x4E60;4-1000&#x4EE5;&#x5185;&#x80FD;&#x88AB;7&#x6574;&#x9664;&#x7684;&#x6570;&#x7684;&#x5E73;&#x5747;&#x503C;">&#x7EC3;&#x4E60;4 1000&#x4EE5;&#x5185;&#x80FD;&#x88AB;7&#x6574;&#x9664;&#x7684;&#x6570;&#x7684;&#x5E73;&#x5747;&#x503C;</h3>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> sum = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">int</span> count = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i=<span class="hljs-number">0</span>; i&lt;<span class="hljs-number">1000</span>;i++){
            <span class="hljs-keyword">if</span>(i%<span class="hljs-number">7</span>==<span class="hljs-number">0</span>){
                count += <span class="hljs-number">1</span>;
                sum += i;
            }
        }
        System.out.println(<span class="hljs-string">&quot;1000&#x4EE5;&#x5185;&#x80FD;&#x88AB;7&#x6574;&#x9664;&#x7684;&#x6570;&#x7684;&#x5E73;&#x5747;&#x503C;&#x4E3A;:&quot;</span>+(sum/count));
    }
}
</code></pre>
<h3 id="&#x7EC3;&#x4E60;5-for-&#x5FAA;&#x73AF;&#x5D4C;&#x5957;&#x6253;&#x5370;&#x77E9;&#x9635;">&#x7EC3;&#x4E60;5 for &#x5FAA;&#x73AF;&#x5D4C;&#x5957;&#x6253;&#x5370;&#x77E9;&#x9635;</h3>
<blockquote>
<p>&#x56FA;&#x5B9A;&#x53C2;&#x6570;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> n = <span class="hljs-number">20</span>;
        <span class="hljs-keyword">int</span> m = <span class="hljs-number">8</span>;
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>; i &lt; n;i++){
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j = <span class="hljs-number">0</span>; j &lt; m; j++){
                System.out.print(<span class="hljs-string">&quot;*&quot;</span>);
            }
            System.out.println();
        }
    }
}
</code></pre>
<blockquote>
<p>&#x547D;&#x4EE4;&#x884C;&#x53C2;&#x6570;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> n = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">int</span> m = Integer.parseInt(args[<span class="hljs-number">1</span>]);
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i = <span class="hljs-number">0</span>; i &lt; n;i++){
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j = <span class="hljs-number">0</span>; j &lt; m; j++){
                System.out.print(<span class="hljs-string">&quot;*&quot;</span>);
            }
            System.out.println();
        }
    }
}
</code></pre>
<h3 id="&#x7EC3;&#x4E60;6-for&#x5FAA;&#x73AF;&#x5D4C;&#x5957;&#x6253;&#x5370;&#x4E09;&#x89D2;&#x5F62;">&#x7EC3;&#x4E60;6 for&#x5FAA;&#x73AF;&#x5D4C;&#x5957;&#x6253;&#x5370;&#x4E09;&#x89D2;&#x5F62;</h3>
<blockquote>
<p>&#x7A7A;&#x5FC3;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">int</span> heigth = Integer.parseInt(args[<span class="hljs-number">0</span>]);
        <span class="hljs-keyword">int</span> width = <span class="hljs-number">2</span> * heigth - <span class="hljs-number">1</span>;
        <span class="hljs-keyword">int</span> numStar = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">int</span> numJ = <span class="hljs-number">0</span>;
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i =<span class="hljs-number">0</span>;i&lt;heigth;i++){
            numStar = <span class="hljs-number">2</span>*i+<span class="hljs-number">1</span>;
            numJ = (width - numStar)/<span class="hljs-number">2</span>;
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j=<span class="hljs-number">0</span>;j&lt;numJ;j++){
                System.out.print(<span class="hljs-string">&quot;  &quot;</span>);
            }
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j=<span class="hljs-number">0</span>;j&lt;numStar;j++){
                <span class="hljs-keyword">if</span>(i == heigth-<span class="hljs-number">1</span>){
                    System.out.print(<span class="hljs-string">&quot;&#x53E3;&quot;</span>);
                }<span class="hljs-keyword">else</span>{
                <span class="hljs-keyword">if</span>(j==<span class="hljs-number">0</span>||j==numStar-<span class="hljs-number">1</span>){
                    System.out.print(<span class="hljs-string">&quot;&#x53E3;&quot;</span>);
                }<span class="hljs-keyword">else</span>{
                    System.out.print(<span class="hljs-string">&quot;  &quot;</span>);
                }
                }
            }
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j=<span class="hljs-number">0</span>;j&lt;numJ;j++){
                System.out.print(<span class="hljs-string">&quot;  &quot;</span>);
            }
            System.out.println();
        }
    }
}
<span class="hljs-comment">/*out
                            &#x53E3;
                          &#x53E3;  &#x53E3;
                        &#x53E3;      &#x53E3;
                      &#x53E3;          &#x53E3;
                    &#x53E3;              &#x53E3;
                  &#x53E3;                  &#x53E3;
                &#x53E3;                      &#x53E3;
              &#x53E3;                          &#x53E3;
            &#x53E3;                              &#x53E3;
          &#x53E3;                                  &#x53E3;
        &#x53E3;                                      &#x53E3;
      &#x53E3;                                          &#x53E3;
    &#x53E3;                                              &#x53E3;
  &#x53E3;                                                  &#x53E3;
&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;&#x53E3;
*/</span>
</code></pre>
<h3 id="&#x7EC3;&#x4E60;7-for&#x5FAA;&#x73AF;-&#x627E;&#x8D28;&#x6570;">&#x7EC3;&#x4E60;7 for&#x5FAA;&#x73AF; &#x627E;&#x8D28;&#x6570;</h3>
<blockquote>
<p>&#x627E;100~200&#x4E4B;&#x95F4;&#x7684;&#x8D28;&#x6570;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">LoopTest17</span></span>{
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">void</span> <span class="hljs-title">main</span><span class="hljs-params">(String[] args)</span></span>{
        <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> i = <span class="hljs-number">100</span>; i &lt;= <span class="hljs-number">200</span> ; i++ ){
            <span class="hljs-keyword">boolean</span> flag = <span class="hljs-keyword">true</span>;    <span class="hljs-comment">// &#x6807;&#x8BB0;&#x53D8;&#x91CF;,&#x7528;&#x4EE5;&#x6807;&#x8BB0;&#x8FD9;&#x4E2A;&#x6570;&#x662F;&#x4E0D;&#x662F;&#x8D28;&#x6570;</span>
            <span class="hljs-keyword">for</span>(<span class="hljs-keyword">int</span> j = <span class="hljs-number">2</span>; j&lt; i;j++){
                <span class="hljs-keyword">if</span> (i%j==<span class="hljs-number">0</span>){
                    flag = <span class="hljs-keyword">false</span>;
                }
            }
            <span class="hljs-comment">// &#x5185;&#x5FAA;&#x73AF;&#x7684;&#x5185;&#x5BB9;&#x6267;&#x884C;&#x5B8C;&#x540E;&#x624D;&#x80FD;&#x4E0B;&#x7ED3;&#x8BBA;</span>
            <span class="hljs-keyword">if</span>(flag){
                System.out.println(i+<span class="hljs-string">&quot;&#x662F;&#x8D28;&#x6570;&quot;</span>);
            }
        }
    }
}
</code></pre>
<blockquote>
<p>python &#x7248;</p>
</blockquote>
<pre><code class="lang-python\">for i in range(100,201):
    flag = True
    for j in range(2,i):
        if i%j == 0:
            flag = False
    if flag:
        print(str(i)+&quot;&#x662F;&#x8D28;&#x6570;&quot;
</code></pre>
<h2 id="&#x4F5C;&#x4E1A;">&#x4F5C;&#x4E1A;</h2>
<h3 id="&#x4F5C;&#x4E1A;1-&#x5192;&#x6CE1;&#x6392;&#x5E8F;">&#x4F5C;&#x4E1A;1 &#x5192;&#x6CE1;&#x6392;&#x5E8F;</h3>
<blockquote>
<p>&#x5FAA;&#x73AF;&#x7248;</p>
</blockquote>
<pre><code class="lang-java"><span class="hljs-comment">// &#x5192;&#x6CE1;&#x6392;&#x5E8F;&#x5FAA;&#x73AF;&#x7248;</span>
</code></pre>
<h3 id="&#x4F5C;&#x4E1A;2-&#x7B49;&#x8170;&#x4E09;&#x89D2;&#x5F62;&#x6253;&#x5370;&#x63A7;&#x5236;">&#x4F5C;&#x4E1A;2 &#x7B49;&#x8170;&#x4E09;&#x89D2;&#x5F62;&#x6253;&#x5370;&#x63A7;&#x5236;</h3>
<h3 id="&#x4F5C;&#x4E1A;3-&#x6C42;1000&#x4EE5;&#x5185;&#x8D28;&#x6570;&#x7684;&#x5E73;&#x5747;&#x503C;">&#x4F5C;&#x4E1A;3 &#x6C42;1000&#x4EE5;&#x5185;&#x8D28;&#x6570;&#x7684;&#x5E73;&#x5747;&#x503C;</h3>

<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="DAY03 回忆式笔记.html#作业4" class="navigation navigation-prev " aria-label="Previous page: 作业4">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="DAY04 回忆式笔记.html#冒泡排序" class="navigation navigation-next " aria-label="Next page: 冒泡排序">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"DAY04 回忆式笔记","level":"1.5","depth":1,"next":{"title":"冒泡排序","level":"1.5.1","depth":2,"anchor":"#冒泡排序","path":"DAY04 回忆式笔记.md","ref":"DAY04 回忆式笔记.md#冒泡排序","articles":[]},"previous":{"title":"作业4","level":"1.4.6.4","depth":3,"anchor":"#作业4","path":"DAY03 回忆式笔记.md","ref":"DAY03 回忆式笔记.md#作业4","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-pro","expandable-chapters","popup","sharing-plus","pageview-count","splitter","back-to-top-button","code"],"styles":{"website":"style.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"&copy; HeDonghai","modify_label":"文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"fontsettings":{"theme":"white","family":"sans","size":2},"fontSettings":{"theme":"white","family":"msyh","size":2},"highlight":{},"theme-api":{"theme":"light"},"back-to-top-button":{},"pageview-count":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"zh","pdf":{"pageNumbers":true,"fontSize":18,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":30,"left":30,"top":30,"bottom":50},"toc":true},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"JavaSE笔记","language":"zh-hans","gitbook":"*","description":"problem solving "},"file":{"path":"DAY04 回忆式笔记.md","mtime":"2021-08-24T14:12:00.821Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-08-25T14:31:15.821Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

